package com.xxwy.ddu.common.exception;


/**
 * 没有登录
 * @author xxwy
 * on 2018/7/30 0030
 */
public class UnauthorizedException extends BaseException {
    private static final long serialVersionUID = -1143307003493436319L;

    public UnauthorizedException() {
    }

    public UnauthorizedException(String message) {
        super(message);
    }

    public UnauthorizedException(String message, Exception e) {
        super(message, e);
    }

    @Override
    protected Integer getCode() {
        return HttpCode.UNAUTHORIZED;
    }

}
